Skip to content

fix(block-settings): restore the current block with the caret - #3069

Open
RobinDev wants to merge 1 commit into
codex-team:nextfrom
RobinDev:fix/restore-focus-after-block-settings
Open

RobinDev wants to merge 1 commit into
codex-team:nextfrom
RobinDev:fix/restore-focus-after-block-settings

Conversation

@RobinDev

Copy link
Copy Markdown

Place the caret in one paragraph, then open another paragraph's settings and confirm a tune with a text input. The caret goes back to the first paragraph. Pressing Enter still acts on the second one.

Set the current block from the restored selection. Clear the highlight from the block whose settings were open.

The Cypress test checks that Enter splits the first paragraph at the restored caret. It fails on next and passes with the fix in Chrome and Firefox.

@RobinDev
RobinDev requested a review from neSpecc as a code owner November 29, 2026 08:56

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant